
#ifndef GIP_PANEL_GROUP_H
#define GIP_PANEL_GROUP_H 1

#include "gip_types.h"

/* panel group: it's a group of panels (GipPanel) that allows only
   one of its children to be visible at a given time */

/* creates a new panel group */
GipWidget * gip_panel_group_new();

/* adds a new panel to the group, returns it's id */
int  gip_panel_group_add(GipWidget *panelgroup, GipWidget *panel);

/* changes the currently visible panel */
void gip_panel_group_set_visible(GipWidget *panelgroup, int id);

/* retrieves the id of the currently visible panel */
int  gip_panel_group_get_visible(GipWidget *panelgroup);



#endif
